package com.rop.znyx.activity.mapper;

import com.rop.znyx.model.activity.ActivityRule;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 优惠规则 Mapper 接口
 * </p>
 *
 * @author rop
 * @since 2023-07-09
 */

@Repository
public interface ActivityRuleMapper extends BaseMapper<ActivityRule> {

    /**
     * 活动规则的批量保存
     */
    void batchInsert(@Param("activityRuleList") List<ActivityRule> activityRuleList);
}
